import { actionTypes} from "./actionTypes";

export const getUsers = (data) => {
    return {
        type: actionTypes.GetUsers,
        data
    }
}

export const loading = () => {
    return {
        type: actionTypes.LoadingUser
    }
}

export const exitUser = () => {
    return {
        type: actionTypes.ExitUser
    }
}